.file-editor-modal .ant-modal-content {
  background-color: #363636 !important;
  color: #e0e0e0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.file-editor-modal .ant-modal-title {
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  background: transparent;
}

.file-editor-modal .ant-modal-header {
  background: #2A2A2C !important;
}

.file-editor-modal .ant-modal-close {
  color: #e0e0e0;
}

.file-editor-modal .ant-modal-close:hover {
  color: #fff;
  background-color: #333;
}

.file-editor-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #1e1e1e;
}

.file-editor-toolbar {
  padding: 8px 16px;
  background-color: #252526;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: flex-end;
}

.save-button {
  padding: 4px 12px;
  background-color: #2d2d2d;
  border: 1px solid #444;
  color: #e0e0e0;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.save-button:hover:not(:disabled) {
  background-color: #3d3d3d;
  border-color: #555;
}

.save-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.save-button.modified {
  background-color: #1976d2;
  border-color: #1976d2;
  color: #fff;
}

.save-button.modified:hover:not(:disabled) {
  background-color: #1565c0;
  border-color: #1565c0;
}

.file-editor-content {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.file-editor-title-bar {
  display: flex;
  align-items: center;
  width: 100%;
  background: transparent;
}

.file-editor-title {
  font-size: 15px;
  font-weight: 500;
  color: #e0e0e0;
  margin-right: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
} 